import storage from '@/utils/storage';
import { ACCESS_TOKEN } from '@/store/mutation-types'
const TokenKey = 'App-Token'

export function getToken() {
  //return uni.getStorageSync(TokenKey)
  return storage.get(ACCESS_TOKEN)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}
